﻿@{
    ViewBag.Title = "Share";
    Layout = "~/Views/Shared/YunMp.cshtml";
}
<body>
    <div class="oh module-toolbar">
        <div class="Linkshare">
            用户组列表
        </div>
    </div>
    <div style="padding: 10px 0px 0px 10px; overflow:hidden;">
        @if( ViewBag.List.Count > 0 )
        {
            foreach( var item in ViewBag.List )
            {
                if( ViewBag.UserCode == item.CreateUserId )
                {
                    <a href="/UserGroup/UserShare?GroupId=@item.GroupId"><span class="GroupShare">@item.GroupName (创建者)</span></a>
                }
                else
                {
                    <a href="/UserGroup/UserShare?GroupId=@item.GroupId"><span class="GroupShare">@item.GroupName</span></a>
                }
            }
        }
        else
        {
           <div class="aGMvFtb"><div class="hqvyGW05 wegnv3JM"><p class="ggEQwFb"> 还没有加入用户组</p></div></div> 
        }
    </div>
</body>